
module("NetWork.Action.SetAutoAgreeApplyAction",package.seeall)

local NetCmdActionBase = require("NetWork.Action").NetCmdActionBase

SetAutoAgreeApplyAction = NetCmdActionBase:new()

function SetAutoAgreeApplyAction:Action(bytes)
    local SetAutoAgreeApplySm   = require("Protol.guildMessage_pb").SetAutoAgreeApplySm ()
    SetAutoAgreeApplySm :ParseFromString(bytes)
    Debug.log(stringify(SetAutoAgreeApplySm ))
    if SetAutoAgreeApplySm.code == 1 then
       --
    else
        local UIWinMgr = require("UI.UIWinMgr").UIWinMgr
        UIWinMgr:OpenErrorNotice(SetAutoAgreeApplySm.code)
    end

end

require("NetWork.NetCmdSet").CmdSet[1555] = SetAutoAgreeApplyAction --注册处理对象